package cn.wolfcode.car.service;

import cn.wolfcode.car.domain.Permission;
import cn.wolfcode.car.qo.PermissionQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    int delete(Long id);

    int save(Permission record);

    Permission get(Long id);

    PageInfo<Permission> list(PermissionQueryObject qo);

    int update(Permission record);

    List<Permission> listAll();

    List<Permission> selectByRoleId(Long id);

    List<String> selectExpressionByEmployeeId(Long id);

    List<String> selectExpression();

}
